package com.cssy.xxkj.logic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;

public interface ILogicProductionDispatchService  extends IBaseService<LogicProductionDispatchDO>{
    /**
     * 查询生产派工ITEM
     */
	public List<LogicProductionDispatchItemDO> findDispatItemList(String planId) throws SyBaseException;
	
	/**
     * 查询生产派工ITEM
     */
	public List<LogicProductionDispatchItemDO> findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	/**
	 * 保存
	 * @param request
	 * @param curAP
	 * @throws SyBaseException
	 */
	@Transactional
	public void dispatSave(HttpServletRequest request,LogicProductionDispatchDO curAP)throws SyBaseException;
	
	public void deleteBizRemovedBySaleId(String backSaleId)throws SyBaseException;
	
}
